import request from '@/utils/request'

// 查询会议类型列表
export function listMtType(query) {
  return request({
    url: '/type/mtType/list',
    method: 'get',
    params: query
  })
}

// 查询会议类型详细
export function getMtType(id) {
  return request({
    url: '/type/mtType/' + id,
    method: 'get'
  })
}

// 保存会议类型
export function saveMtType(data) {
  return request({
    url: '/type/mtType/save',
    method: 'post',
    data: data
  })
}

// 删除会议类型
export function delMtType(id) {
  return request({
    url: '/type/mtType/' + id,
    method: 'delete'
  })
}

// 导出会议类型
export function exportMtType(query) {
  return request({
    url: '/type/mtType/export',
    method: 'get',
    params: query
  })
}

// 查询全部
export function findAll() {
 return request({
   url: '/type/mtType/findAll',
   method: 'get'
 })
}
